Skip to content

Conversation

richardlau
Copy link
Member

For sigaction() the SA_SIGINFO flag should be set when setting
the handler via the sa_sigaction member of the sigaction struct.

This unfortunately doesn't fix #34410 but AFAICT looks correct based
on the sigaction() docs.

Checklist
  • make -j4 test (UNIX), or vcbuild test (Windows) passes
  • commit message follows commit guidelines

@nodejs-github-bot nodejs-github-bot added the c++ Issues and PRs that require attention from people who are familiar with C++. label Aug 6, 2020
@nodejs-github-bot

This comment has been minimized.

@nodejs-github-bot

This comment has been minimized.

For `sigaction()` the `SA_SIGINFO` flag should be set when setting
the handler via the `sa_sigaction` member of the `sigaction` struct.
@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 6, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 6, 2020
@nodejs-github-bot

This comment has been minimized.

@richardlau richardlau added the request-ci Add this label to start a Jenkins CI on a PR. label Aug 6, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Aug 6, 2020
@nodejs-github-bot
Copy link
Collaborator

@richardlau richardlau added author ready PRs that have at least one approval, no pending requests for changes, and a CI started. and removed author ready PRs that have at least one approval, no pending requests for changes, and a CI started. labels Aug 6, 2020
@richardlau
Copy link
Member Author

So I'm not sure why but it looks like on AIX if reset_handler is set then all members of the siginfo argument passed to the handler are 0. @nodejs/platform-aix any ideas?

@richardlau
Copy link
Member Author

So I'm not sure why but it looks like on AIX if reset_handler is set then all members of the siginfo argument passed to the handler are 0. @nodejs/platform-aix any ideas?

FWIW I've distilled the problem down to https://github.com/richardlau/signals

@aduh95 aduh95 added the request-ci Add this label to start a Jenkins CI on a PR. label Nov 8, 2020
@github-actions github-actions bot removed the request-ci Add this label to start a Jenkins CI on a PR. label Nov 8, 2020
@nodejs-github-bot
Copy link
Collaborator

@aduh95
Copy link
Contributor

aduh95 commented May 5, 2024

This needs a rebase

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c++ Issues and PRs that require attention from people who are familiar with C++.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

addons/register-signal-handler/test and abort/test-addon-register-signal-handler failed
6 participants